* lisp/progmodes/ruby-mode.el: Simplify last change, and cleanup code.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 24 Apr 2012 17:02:46 +0000 (13:02 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 24 Apr 2012 17:02:46 +0000 (13:02 -0400)
commit11dd8773ef1d3b8e6567a7171a2b976302a61382
tree486a59b34bb864347784d83b8759c1d05683ec1d
parentee75894f5ad474caf058b140cfc154bd867f4c7b
* lisp/progmodes/ruby-mode.el: Simplify last change, and cleanup code.
(ruby-syntax-propertize-regexp): Remove.
(ruby-syntax-propertize-function): Split regexp into chunks.
Match following code directly.
* test/indent/ruby.rb: New file, to test new syntax-propertize code.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb [new file with mode: 0644]